package org.jactao.v_1_0_test.service;

import org.jactao.v_1_0_test.service.dto.UserDto;

/**
 * Created by fanzetao on 2018/4/10.
 */
public class LoginServiceImpl implements LoginService {

    @Override
    public UserDto login(String userName, String passwrod) {
        System.out.println("login user " + userName);
        UserDto userDto = new UserDto();
        userDto.setUserName(userName);
        return userDto;
    }

    @Override
    public void logout(String userName) {
        System.out.println("logout user " + userName);
    }
}
